package com.cheer.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("活动分页Param")
public class ActivityPageParam {

    @ApiModelProperty("当前页")
    private Integer pageNum;
    @ApiModelProperty("每页展示多少条")
    private Integer pageSize;
    @ApiModelProperty("活动开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty("活动结束")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;
    @ApiModelProperty("组织机构")
    private Integer pid;

}
